/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-10-28 13:39:23   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * zx_client-会员
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler",
		"fieldHandler" }, ignoreUnknown = true)
public class Client extends BasicDomain {

	private static final long serialVersionUID = 1L;

	/**
	 * 登录用户名
	 */
	@ApiModelProperty(value = "登录用户名")
	private String loginName;
	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码")
	private String loginPwd;
	/**
	 * wx-微信 ios-ios android-安卓 pc-pc 注册来源
	 */
	@ApiModelProperty(value = "wx-微信   ios-ios   android-安卓  pc-pc   注册来源")
	private String registType;
	/**
	 * 登录时间
	 */
	@ApiModelProperty(value = "登录时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)
	private OffsetDateTime loginTime;
	
	/**
	 * 旧密码
	 */
	private String oldLoginPwd;

	public Client() {

	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPwd() {
		return this.loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public String getRegistType() {
		return this.registType;
	}

	public void setRegistType(String registType) {
		this.registType = registType;
	}

	public OffsetDateTime getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime(OffsetDateTime loginTime) {
		this.loginTime = loginTime;
	}

	public String getOldLoginPwd() {
		return oldLoginPwd;
	}

	public void setOldLoginPwd(String oldLoginPwd) {
		this.oldLoginPwd = oldLoginPwd;
	}

}
